package com.ruoyi.system.service.aid.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.aid.AidReceiveMapper;
import com.ruoyi.system.domain.aid.AidReceive;
import com.ruoyi.system.service.aid.IAidReceiveService;

@Service
public class AidReceiveServiceImpl implements IAidReceiveService {
    @Autowired
    private AidReceiveMapper receiveMapper;

    @Override
    public List<AidReceive> selectReceiveList(AidReceive receive) {
        return receiveMapper.selectReceiveList(receive);
    }

    @Override
    public AidReceive selectReceiveById(Long receiveId) {
        return receiveMapper.selectReceiveById(receiveId);
    }

    @Override
    public int insertReceive(AidReceive receive) {
        return receiveMapper.insertReceive(receive);
    }

    @Override
    public int updateReceive(AidReceive receive) {
        return receiveMapper.updateReceive(receive);
    }

    @Override
    public int deleteReceiveByIds(Long[] receiveIds) {
        return receiveMapper.deleteReceiveByIds(receiveIds);
    }

    @Override
    public int deleteReceiveById(Long receiveId) {
        return receiveMapper.deleteReceiveById(receiveId);
    }
} 